﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>部门管理</title>
    <#--<#include "../common/footer.ftl">-->
    <!--freemarker引入模板文件 使用相对路径来引入-->
    <#include "../common/link.ftl" >  <#-- freemarker的include,包含另外一个模板文件
        需要使用相对的末班文件的路径再去找另一个模板-->
    <script>

    </script>

</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <#--<#include "../common/navbar.ftl">-->
    <#include "../common/navbar.ftl" >
    <#--<!--菜单回显&ndash;&gt;-->
    <#--<c:set var="currentMenu" value="customerTransfer"/>-->
    <#assign currentMenu="customerTransfer"/>
    <#--<#include "../common/menu.ftl">-->
    <#include "../common/menu.ftl" >
    <div class="content-wrapper">
        <section class="content-header">
            <h1>客户移交历史</h1>
        </section>
        <section class="content">
            <div class="box">
                <!--高级查询--->
                <form class="form-inline" id="searchForm" action="/customerTransfer/list.do" method="post">
                    <input type="hidden" name="currentPage" id="currentPage" value="1">
                    <div class="form-group">
                        <label for="keyword">关键字:</label>
                        <input type="text" class="form-control" id="keyword" name="keyword" value="${qo.keyword!}" placeholder="请输入姓名">
                    </div>
                    <button id="btn_query" class="btn btn-primary"><span class="glyphicon glyphicon-search"></span> 查询</button>
                </form>
                <!--编写内容-->
                <div class="box-body table-responsive no-padding ">
                    <table class="table table-hover table-bordered">
                        <tr>
                            <th>编号</th>
                            <th>客户姓名</th>
                            <th>操作日期</th>
                            <th>操作人</th>
                            <th>旧营销人员</th>
                            <th>新营销人员</th>
                            <th>移交原因</th>
                        </tr>
                        <#list pageResult.list as customerTransfer>
                            <tr>
                                <td>${customerTransfer_index+1}</td>
                                <td>${(customerTransfer.customer.name)!}</td>
                                <td>${(customerTransfer.operateTime?string('dd-MM-yyyy'))!}</td>
                                <td>${(customerTransfer.operator.name)!}</td>
                                <td>${(customerTransfer.oldSeller.name)!}</td>
                                <td>${(customerTransfer.newSeller.name)!}</td>
                                <td>${customerTransfer.reason!}</td>
                            </tr>
                        </#list>
                    </table>
                    <!--分页-->
                    <#include "../common/page.ftl">

                </div>
            </div>
        </section>
    </div>
    <#--<#include "../common/footer.ftl">-->
    <#include "../common/footer.ftl" >
</div>
</body>
</html>
